Nuke dead locals.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 28 Jul 2003 20:45:51 +0000 (20:45 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 28 Jul 2003 20:45:51 +0000 (20:45 +0000)
gpsbabel/gpilots.c

index 9759ecf9cc27374ba7b74af7375e14356394968f..e39c5b8a35590acb8ad56d7ed5a54949c4067bf3 100644 (file)
@@ -166,7 +166,6 @@ data_read(void)
        struct record *rec;
        struct pdb *pdb;
        struct pdb_record *pdb_rec;
-       char *vdata;
        route_head *track_head;
 
        if (NULL == (pdb = pdb_Read(fileno(file_in)))) {
@@ -283,12 +282,6 @@ my_write_wpt(const waypoint *wpt)
 static void
 data_write(void)
 {
-       int i, ct = waypt_count();
-       struct hdr *htable, *bh;
-       queue *elem, *tmp;
-       extern queue waypt_head;
-       waypoint *waypointp;
-
        if (NULL == (opdb = new_pdb())) { 
                fatal (MYNAME ": new_pdb failed\n");
        }